package com.usian.comment.feign;


import com.usian.model.article.pojos.ApArticle;
import com.usian.model.article.pojos.ApAuthor;

import com.usian.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * ClassName: ApBehaviorEntryClient
 * Author:   WGG
 * Date:    2022-12-2022/12/1-21:02
 * Version: 1.0
 * Description:
 */
@FeignClient(name="leadnews-user")
public interface ApUserClient {

//    @GetMapping("/article/api/v1/article/findById/{id}")
//    public ApArticle findById(@PathVariable("id") Long id);
    @GetMapping("/user/api/v1/user/findById/{id}")
    public ApUser findById(@PathVariable("id") Long id);

}
